<?php foreach ($this->update as $update): ?>
    <tr id='tr_<?php echo $update->id ?>'>
        <td scope="col" class="date">
            <?php echo date(DATE_FORMAT, $update->date) ?>
        </td>
        <?php foreach ($this->update_dunnage_operation_cols as $update_dunnage_operation_col => $name): ?>
            <td scope="col">
                <div class="file-wrapper">
                    <a href='<?php echo UPLOAD_URL . $update->$update_dunnage_operation_col ?>'  rel="prettyPhoto[pp_gal]">
                        <img src='<?php echo UPLOAD_URL . $update->$update_dunnage_operation_col ?>' width='80%' height='90%'/>
                    </a>
                </div>
            </td>
        <?php endforeach; ?>
    </tr>
<?php endforeach; ?>